package com.agile.leetcode.designmodel.observer;

/**
 * @Author KD
 * @Date 2021/1/11 15:45
 */
public class ConcreateObserver2 extends Observer {
    public String name;

    public ConcreateObserver2(String name) {
        this.name = name;
    }

    @Override
    void update(String message) {
        System.out.println(name + "===" + message);
    }
}
